StoreEngine\Addons\Subscription\Events\CreateSubscription S

Total Complexity 49
Dependencies 13
Dependents 4
Total lines 408
Lines of code 262
Logical lines of code 130
Comment lines 89
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
create()
A
33 9 98
get_first_renewal_payment_time()
A
50 8 26
create_subscription()
S
51 6 28
add_months()
S
53 6 21
add_time()
S
49 4 32
get_expiration_date()
S
58 5 15
get_trial_expiration_date()
S
63 4 10
strtotime_dark_knight()
S
63 2 11
get_first_renewal_payment_date()
S
64 2 9
date_to_time()
S
67 2 8
init()
S
74 1 4